<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <link href="static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<shiro:hasPermission name="info_goods:update">
<form action="<%=basePath%>baseController/updateInfoGoodsById.do" method="post">
    <input type="hidden" name="id" value="${infoGoods_db.id}">
    <div class="formbody">
        <div class="formtitle"><span>基本信息</span></div>
        <ul class="forminfo">
            <li><label>原料名称：</label><input name="goodsName" type="text" value="${infoGoods_db.goodsName}" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>原料产地：</label><input name="goodsAddress" type="text" value="${infoGoods_db.goodsAddress}" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>单位：</label><input name="company" type="text" value="${infoGoods_db.company}" class="dfinput"/><i>密码不能超过30个字符</i></li>
            <li><label>规格：</label><input name="goodsGg" type="text" value="${infoGoods_db.goodsGg}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>批号：</label><input name="goodsPh" type="text" value="${infoGoods_db.goodsPh}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>供应商：</label><input name="goodsGys" type="text" value="${infoGoods_db.goodsGys}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>类别：</label><input name="goodsLb" type="text" value="${infoGoods_db.goodsLb}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>单价：</label><input name="goodsPrice" type="text" value="${infoGoods_db.goodsPrice}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>原料描述：</label><input name="goodsDescription" type="text" value="${infoGoods_db.goodsDescription}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认修改"/></li>
        </ul>
    </div>
</form>
</shiro:hasPermission>
</body>
</html>
